<!DOCTYPE html>
<html lang="en">
<head>
<title>WebView4Delphi: uWVCoreWebView2EnvironmentOptions: Class TCoreWebView2EnvironmentOptions</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.16.0-snapshot">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<span id="TCoreWebView2EnvironmentOptions"></span><h1 class="cio">Class TCoreWebView2EnvironmentOptions</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Hierarchy">Hierarchy</a></div><div class="one_section"><a class="section" href="#PasDoc-Fields">Fields</a></div><div class="one_section"><a class="section" href="#PasDoc-Methods">Methods</a></div><div class="one_section">Properties</div></div>
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
<p class="unitlink">
<a href="uWVCoreWebView2EnvironmentOptions.html">uWVCoreWebView2EnvironmentOptions</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TCoreWebView2EnvironmentOptions = class(TInterfacedObject, <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions.html">ICoreWebView2EnvironmentOptions</a>, <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions2.html">ICoreWebView2EnvironmentOptions2</a>, <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions3.html">ICoreWebView2EnvironmentOptions3</a>, <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions4.html">ICoreWebView2EnvironmentOptions4</a>, <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions5.html">ICoreWebView2EnvironmentOptions5</a>, <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions6.html">ICoreWebView2EnvironmentOptions6</a>, <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions7.html">ICoreWebView2EnvironmentOptions7</a>, <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions8.html">ICoreWebView2EnvironmentOptions8</a>)</code></p>
<h2 class="description">Description</h2>
<p>
 Options used to create WebView2 Environment. A default implementation is provided in WebView2EnvironmentOptions.h. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions</a>&quot;&gt;See the ICoreWebView2EnvironmentOptions article.)</p>
<span id="PasDoc-Hierarchy"></span><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TInterfacedObject</li>
<li class="thisitem">TCoreWebView2EnvironmentOptions</li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Fields"></span><h3 class="summary">Fields</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#FAdditionalBrowserArguments">FAdditionalBrowserArguments</a></strong>: <a href="uWVTypes.html#wvstring">wvstring</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#FLanguage">FLanguage</a></strong>: <a href="uWVTypes.html#wvstring">wvstring</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#FTargetCompatibleBrowserVersion">FTargetCompatibleBrowserVersion</a></strong>: <a href="uWVTypes.html#wvstring">wvstring</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#FAllowSingleSignOnUsingOSPrimaryAccount">FAllowSingleSignOnUsingOSPrimaryAccount</a></strong>: boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#FExclusiveUserDataFolderAccess">FExclusiveUserDataFolderAccess</a></strong>: boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#FCustomCrashReportingEnabled">FCustomCrashReportingEnabled</a></strong>: boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#FSchemeRegistrations">FSchemeRegistrations</a></strong>: <a href="uWVTypes.html#TWVCustomSchemeRegistrationArray">TWVCustomSchemeRegistrationArray</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#FEnableTrackingPrevention">FEnableTrackingPrevention</a></strong>: boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#FAreBrowserExtensionsEnabled">FAreBrowserExtensionsEnabled</a></strong>: boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#FChannelSearchKind">FChannelSearchKind</a></strong>: <a href="uWVTypes.html#TWVChannelSearchKind">TWVChannelSearchKind</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#FReleaseChannels">FReleaseChannels</a></strong>: <a href="uWVTypes.html#TWVReleaseChannels">TWVReleaseChannels</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#FScrollBarStyle">FScrollBarStyle</a></strong>: <a href="uWVTypes.html#TWVScrollBarStyle">TWVScrollBarStyle</a>;</code></td>
</tr>
</table>
<span id="PasDoc-Methods"></span><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Get_AdditionalBrowserArguments-PWideChar-">Get_AdditionalBrowserArguments</a></strong>(out value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Set_AdditionalBrowserArguments-PWideChar-">Set_AdditionalBrowserArguments</a></strong>(value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Get_Language-PWideChar-">Get_Language</a></strong>(out value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Set_Language-PWideChar-">Set_Language</a></strong>(value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Get_TargetCompatibleBrowserVersion-PWideChar-">Get_TargetCompatibleBrowserVersion</a></strong>(out value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Set_TargetCompatibleBrowserVersion-PWideChar-">Set_TargetCompatibleBrowserVersion</a></strong>(value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Get_AllowSingleSignOnUsingOSPrimaryAccount-Integer-">Get_AllowSingleSignOnUsingOSPrimaryAccount</a></strong>(out allow: Integer): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Set_AllowSingleSignOnUsingOSPrimaryAccount-Integer-">Set_AllowSingleSignOnUsingOSPrimaryAccount</a></strong>(allow: Integer): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Get_ExclusiveUserDataFolderAccess-Integer-">Get_ExclusiveUserDataFolderAccess</a></strong>(out value: Integer): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Set_ExclusiveUserDataFolderAccess-Integer-">Set_ExclusiveUserDataFolderAccess</a></strong>(value: Integer): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Get_IsCustomCrashReportingEnabled-Integer-">Get_IsCustomCrashReportingEnabled</a></strong>(out value: Integer): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Set_IsCustomCrashReportingEnabled-Integer-">Set_IsCustomCrashReportingEnabled</a></strong>(value: Integer): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#GetCustomSchemeRegistrations-SYSUINT-PPCoreWebView2CustomSchemeRegistration-">GetCustomSchemeRegistrations</a></strong>(out Count: SYSUINT; out schemeRegistrations: <a href="uWVTypeLibrary.html#PPCoreWebView2CustomSchemeRegistration">PPCoreWebView2CustomSchemeRegistration</a>): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#SetCustomSchemeRegistrations-SYSUINT-PPCoreWebView2CustomSchemeRegistration-">SetCustomSchemeRegistrations</a></strong>(Count: SYSUINT; schemeRegistrations: <a href="uWVTypeLibrary.html#PPCoreWebView2CustomSchemeRegistration">PPCoreWebView2CustomSchemeRegistration</a>): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Get_EnableTrackingPrevention-Integer-">Get_EnableTrackingPrevention</a></strong>(out value: Integer): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Set_EnableTrackingPrevention-Integer-">Set_EnableTrackingPrevention</a></strong>(value: Integer): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Get_AreBrowserExtensionsEnabled-Integer-">Get_AreBrowserExtensionsEnabled</a></strong>(out value: Integer): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Set_AreBrowserExtensionsEnabled-Integer-">Set_AreBrowserExtensionsEnabled</a></strong>(value: Integer): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Get_ChannelSearchKind-COREWEBVIEW2_CHANNEL_SEARCH_KIND-">Get_ChannelSearchKind</a></strong>(out value: <a href="uWVTypeLibrary.html#COREWEBVIEW2_CHANNEL_SEARCH_KIND">COREWEBVIEW2_CHANNEL_SEARCH_KIND</a>): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Set_ChannelSearchKind-COREWEBVIEW2_CHANNEL_SEARCH_KIND-">Set_ChannelSearchKind</a></strong>(value: <a href="uWVTypeLibrary.html#COREWEBVIEW2_CHANNEL_SEARCH_KIND">COREWEBVIEW2_CHANNEL_SEARCH_KIND</a>): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Get_ReleaseChannels-COREWEBVIEW2_RELEASE_CHANNELS-">Get_ReleaseChannels</a></strong>(out value: <a href="uWVTypeLibrary.html#COREWEBVIEW2_RELEASE_CHANNELS">COREWEBVIEW2_RELEASE_CHANNELS</a>): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Set_ReleaseChannels-COREWEBVIEW2_RELEASE_CHANNELS-">Set_ReleaseChannels</a></strong>(value: <a href="uWVTypeLibrary.html#COREWEBVIEW2_RELEASE_CHANNELS">COREWEBVIEW2_RELEASE_CHANNELS</a>): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Get_ScrollBarStyle-COREWEBVIEW2_SCROLLBAR_STYLE-">Get_ScrollBarStyle</a></strong>(out value: <a href="uWVTypeLibrary.html#COREWEBVIEW2_SCROLLBAR_STYLE">COREWEBVIEW2_SCROLLBAR_STYLE</a>): HResult; stdcall;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Set_ScrollBarStyle-COREWEBVIEW2_SCROLLBAR_STYLE-">Set_ScrollBarStyle</a></strong>(value: <a href="uWVTypeLibrary.html#COREWEBVIEW2_SCROLLBAR_STYLE">COREWEBVIEW2_SCROLLBAR_STYLE</a>): HResult; stdcall;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#DestroySchemeRegistrations">DestroySchemeRegistrations</a></strong>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Create-wvstring-wvstring-wvstring-boolean-boolean-boolean-TWVCustomSchemeRegistrationArray-boolean-boolean-TWVChannelSearchKind-TWVReleaseChannels-TWVScrollBarStyle-">Create</a></strong>(const aAdditionalBrowserArguments, aLanguage, aTargetCompatibleBrowserVersion : <a href="uWVTypes.html#wvstring">wvstring</a>; aAllowSingleSignOnUsingOSPrimaryAccount, aExclusiveUserDataFolderAccess, aCustomCrashReportingEnabled : boolean; const aSchemeRegistrations: <a href="uWVTypes.html#TWVCustomSchemeRegistrationArray">TWVCustomSchemeRegistrationArray</a>; aEnableTrackingPrevention, aAreBrowserExtensionsEnabled: boolean; aChannelSearchKind : <a href="uWVTypes.html#TWVChannelSearchKind">TWVChannelSearchKind</a>; aReleaseChannels : <a href="uWVTypes.html#TWVReleaseChannels">TWVReleaseChannels</a>; aScrollBarStyle: <a href="uWVTypes.html#TWVScrollBarStyle">TWVScrollBarStyle</a>);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>destructor <strong><a href="uWVCoreWebView2EnvironmentOptions.TCoreWebView2EnvironmentOptions.html#Destroy">Destroy</a></strong>; override;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Fields</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FAdditionalBrowserArguments"></span><code><strong>FAdditionalBrowserArguments</strong>: <a href="uWVTypes.html#wvstring">wvstring</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FLanguage"></span><code><strong>FLanguage</strong>: <a href="uWVTypes.html#wvstring">wvstring</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FTargetCompatibleBrowserVersion"></span><code><strong>FTargetCompatibleBrowserVersion</strong>: <a href="uWVTypes.html#wvstring">wvstring</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FAllowSingleSignOnUsingOSPrimaryAccount"></span><code><strong>FAllowSingleSignOnUsingOSPrimaryAccount</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FExclusiveUserDataFolderAccess"></span><code><strong>FExclusiveUserDataFolderAccess</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FCustomCrashReportingEnabled"></span><code><strong>FCustomCrashReportingEnabled</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FSchemeRegistrations"></span><code><strong>FSchemeRegistrations</strong>: <a href="uWVTypes.html#TWVCustomSchemeRegistrationArray">TWVCustomSchemeRegistrationArray</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FEnableTrackingPrevention"></span><code><strong>FEnableTrackingPrevention</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FAreBrowserExtensionsEnabled"></span><code><strong>FAreBrowserExtensionsEnabled</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FChannelSearchKind"></span><code><strong>FChannelSearchKind</strong>: <a href="uWVTypes.html#TWVChannelSearchKind">TWVChannelSearchKind</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FReleaseChannels"></span><code><strong>FReleaseChannels</strong>: <a href="uWVTypes.html#TWVReleaseChannels">TWVReleaseChannels</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FScrollBarStyle"></span><code><strong>FScrollBarStyle</strong>: <a href="uWVTypes.html#TWVScrollBarStyle">TWVScrollBarStyle</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Get_AdditionalBrowserArguments-PWideChar-"></span><code>function <strong>Get_AdditionalBrowserArguments</strong>(out value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
ICoreWebView2EnvironmentOptions</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Set_AdditionalBrowserArguments-PWideChar-"></span><code>function <strong>Set_AdditionalBrowserArguments</strong>(value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions.html#Set_AdditionalBrowserArguments-PWideChar-">ICoreWebView2EnvironmentOptions.Set_AdditionalBrowserArguments</a>.</p><p>
 Sets the `AdditionalBrowserArguments` property.

<p>Please note that calling this API twice will replace the previous value rather than appending to it. If there are multiple switches, there should be a space in between them. The one exception is if multiple features are being enabled/disabled for a single switch, in which case the features should be comma-seperated. Ex. &quot;&ndash;disable-features=feature1,feature2 &ndash;some-other-switch &ndash;do-something&quot; </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Get_Language-PWideChar-"></span><code>function <strong>Get_Language</strong>(out value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions.html#Get_Language-PWideChar-">ICoreWebView2EnvironmentOptions.Get_Language</a>.</p><p>
 The default display language for WebView. It applies to browser UI such as context menu and dialogs. It also applies to the `accept-languages` HTTP header that WebView sends to websites. The intended locale value is in the format of BCP 47 Language Tags. More information can be found from [IETF BCP47](<a href="https://www.ietf.org/rfc/bcp/bcp47.html">https://www.ietf.org/rfc/bcp/bcp47.html</a>).

<p>The caller must free the returned string with `CoTaskMemFree`. See [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Set_Language-PWideChar-"></span><code>function <strong>Set_Language</strong>(value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions.html#Set_Language-PWideChar-">ICoreWebView2EnvironmentOptions.Set_Language</a>.</p><p>
 Sets the `Language` property. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Get_TargetCompatibleBrowserVersion-PWideChar-"></span><code>function <strong>Get_TargetCompatibleBrowserVersion</strong>(out value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions.html#Get_TargetCompatibleBrowserVersion-PWideChar-">ICoreWebView2EnvironmentOptions.Get_TargetCompatibleBrowserVersion</a>.</p><p>
 Specifies the version of the WebView2 Runtime binaries required to be compatible with your app. This defaults to the WebView2 Runtime version that corresponds with the version of the SDK the app is using. The format of this value is the same as the format of the `BrowserVersionString` property and other `BrowserVersion` values. Only the version part of the `BrowserVersion` value is respected. The channel suffix, if it exists, is ignored. The version of the WebView2 Runtime binaries actually used may be different from the specified `TargetCompatibleBrowserVersion`. The binaries are only guaranteed to be compatible. Verify the actual version on the `BrowserVersionString` property on the `ICoreWebView2Environment`.

<p>The caller must free the returned string with `CoTaskMemFree`. See [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Set_TargetCompatibleBrowserVersion-PWideChar-"></span><code>function <strong>Set_TargetCompatibleBrowserVersion</strong>(value: PWideChar): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions.html#Set_TargetCompatibleBrowserVersion-PWideChar-">ICoreWebView2EnvironmentOptions.Set_TargetCompatibleBrowserVersion</a>.</p><p>
 Sets the `TargetCompatibleBrowserVersion` property. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Get_AllowSingleSignOnUsingOSPrimaryAccount-Integer-"></span><code>function <strong>Get_AllowSingleSignOnUsingOSPrimaryAccount</strong>(out allow: Integer): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions.html#Get_AllowSingleSignOnUsingOSPrimaryAccount-Integer-">ICoreWebView2EnvironmentOptions.Get_AllowSingleSignOnUsingOSPrimaryAccount</a>.</p><p>
 The `AllowSingleSignOnUsingOSPrimaryAccount` property is used to enable single sign on with Azure Active Directory (AAD) and personal Microsoft Account (MSA) resources inside WebView. All AAD accounts, connected to Windows and shared for all apps, are supported. For MSA, SSO is only enabled for the account associated for Windows account login, if any. Default is disabled. Universal Windows Platform apps must also declare `enterpriseCloudSSO` [Restricted capabilities](/windows/uwp/packaging/app-capability-declarations\#restricted-capabilities) for the single sign on (SSO) to work. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Set_AllowSingleSignOnUsingOSPrimaryAccount-Integer-"></span><code>function <strong>Set_AllowSingleSignOnUsingOSPrimaryAccount</strong>(allow: Integer): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions.html#Set_AllowSingleSignOnUsingOSPrimaryAccount-Integer-">ICoreWebView2EnvironmentOptions.Set_AllowSingleSignOnUsingOSPrimaryAccount</a>.</p><p>
 Sets the `AllowSingleSignOnUsingOSPrimaryAccount` property. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Get_ExclusiveUserDataFolderAccess-Integer-"></span><code>function <strong>Get_ExclusiveUserDataFolderAccess</strong>(out value: Integer): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
ICoreWebView2EnvironmentOptions2</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Set_ExclusiveUserDataFolderAccess-Integer-"></span><code>function <strong>Set_ExclusiveUserDataFolderAccess</strong>(value: Integer): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions2.html#Set_ExclusiveUserDataFolderAccess-Integer-">ICoreWebView2EnvironmentOptions2.Set_ExclusiveUserDataFolderAccess</a>.</p><p>
 Sets the `ExclusiveUserDataFolderAccess` property. The `ExclusiveUserDataFolderAccess` property specifies that the WebView environment obtains exclusive access to the user data folder. If the user data folder is already being used by another WebView environment with a different value for `ExclusiveUserDataFolderAccess` property, the creation of a WebView2Controller using the environment object will fail with `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)`. When set as TRUE, no other WebView can be created from other processes using WebView2Environment objects with the same UserDataFolder. This prevents other processes from creating WebViews which share the same browser process instance, since sharing is performed among WebViews that have the same UserDataFolder. When another process tries to create a WebView2Controller from an WebView2Environment object created with the same user data folder, it will fail with `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)`. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Get_IsCustomCrashReportingEnabled-Integer-"></span><code>function <strong>Get_IsCustomCrashReportingEnabled</strong>(out value: Integer): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
ICoreWebView2EnvironmentOptions3</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Set_IsCustomCrashReportingEnabled-Integer-"></span><code>function <strong>Set_IsCustomCrashReportingEnabled</strong>(value: Integer): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions3.html#Set_IsCustomCrashReportingEnabled-Integer-">ICoreWebView2EnvironmentOptions3.Set_IsCustomCrashReportingEnabled</a>.</p><p>
 Sets the `IsCustomCrashReportingEnabled` property. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetCustomSchemeRegistrations-SYSUINT-PPCoreWebView2CustomSchemeRegistration-"></span><code>function <strong>GetCustomSchemeRegistrations</strong>(out Count: SYSUINT; out schemeRegistrations: <a href="uWVTypeLibrary.html#PPCoreWebView2CustomSchemeRegistration">PPCoreWebView2CustomSchemeRegistration</a>): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
ICoreWebView2EnvironmentOptions4</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="SetCustomSchemeRegistrations-SYSUINT-PPCoreWebView2CustomSchemeRegistration-"></span><code>function <strong>SetCustomSchemeRegistrations</strong>(Count: SYSUINT; schemeRegistrations: <a href="uWVTypeLibrary.html#PPCoreWebView2CustomSchemeRegistration">PPCoreWebView2CustomSchemeRegistration</a>): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions4.html#SetCustomSchemeRegistrations-SYSUINT-PPCoreWebView2CustomSchemeRegistration-">ICoreWebView2EnvironmentOptions4.SetCustomSchemeRegistrations</a>.</p><p>
* var schemeRegistrations: ICoreWebView2CustomSchemeRegistration &ndash;&gt; schemeRegistrations: PPCoreWebView2CustomSchemeRegistration ************** WEBVIEW4DELPHI ************** *</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Get_EnableTrackingPrevention-Integer-"></span><code>function <strong>Get_EnableTrackingPrevention</strong>(out value: Integer): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
ICoreWebView2EnvironmentOptions5</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Set_EnableTrackingPrevention-Integer-"></span><code>function <strong>Set_EnableTrackingPrevention</strong>(value: Integer): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions5.html#Set_EnableTrackingPrevention-Integer-">ICoreWebView2EnvironmentOptions5.Set_EnableTrackingPrevention</a>.</p><p>
 Sets the `EnableTrackingPrevention` property. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Get_AreBrowserExtensionsEnabled-Integer-"></span><code>function <strong>Get_AreBrowserExtensionsEnabled</strong>(out value: Integer): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
ICoreWebView2EnvironmentOptions6</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Set_AreBrowserExtensionsEnabled-Integer-"></span><code>function <strong>Set_AreBrowserExtensionsEnabled</strong>(value: Integer): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions6.html#Set_AreBrowserExtensionsEnabled-Integer-">ICoreWebView2EnvironmentOptions6.Set_AreBrowserExtensionsEnabled</a>.</p><p>
 Sets the `AreBrowserExtensionsEnabled` property. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Get_ChannelSearchKind-COREWEBVIEW2_CHANNEL_SEARCH_KIND-"></span><code>function <strong>Get_ChannelSearchKind</strong>(out value: <a href="uWVTypeLibrary.html#COREWEBVIEW2_CHANNEL_SEARCH_KIND">COREWEBVIEW2_CHANNEL_SEARCH_KIND</a>): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
ICoreWebView2EnvironmentOptions7</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Set_ChannelSearchKind-COREWEBVIEW2_CHANNEL_SEARCH_KIND-"></span><code>function <strong>Set_ChannelSearchKind</strong>(value: <a href="uWVTypeLibrary.html#COREWEBVIEW2_CHANNEL_SEARCH_KIND">COREWEBVIEW2_CHANNEL_SEARCH_KIND</a>): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions7.html#Set_ChannelSearchKind-COREWEBVIEW2_CHANNEL_SEARCH_KIND-">ICoreWebView2EnvironmentOptions7.Set_ChannelSearchKind</a>.</p><p>


<p>The `ChannelSearchKind` property is `COREWEBVIEW2_CHANNEL_SEARCH_KIND_MOST_STABLE` by default; environment creation searches for a release channel on the machine from most to least stable using the first channel found. The default search order is: WebView2 Runtime -&amp;gt; Beta -&amp;gt; Dev -&amp;gt; Canary. Set `ChannelSearchKind` to `COREWEBVIEW2_CHANNEL_SEARCH_KIND_LEAST_STABLE` to reverse the search order so that environment creation searches for a channel from least to most stable. If `ReleaseChannels` has been provided, the loader will only search for channels in the set. See `COREWEBVIEW2_RELEASE_CHANNELS` for more details on channels.

<p>This property can be overridden by the corresponding registry key `ChannelSearchKind` or the environment variable `WEBVIEW2_CHANNEL_SEARCH_KIND`. Set the value to `1` to set the search kind to `COREWEBVIEW2_CHANNEL_SEARCH_KIND_LEAST_STABLE`. See `CreateCoreWebView2EnvironmentWithOptions` for more details on overrides.

<p></p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Get_ReleaseChannels-COREWEBVIEW2_RELEASE_CHANNELS-"></span><code>function <strong>Get_ReleaseChannels</strong>(out value: <a href="uWVTypeLibrary.html#COREWEBVIEW2_RELEASE_CHANNELS">COREWEBVIEW2_RELEASE_CHANNELS</a>): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions7.html#Get_ReleaseChannels-COREWEBVIEW2_RELEASE_CHANNELS-">ICoreWebView2EnvironmentOptions7.Get_ReleaseChannels</a>.</p><p>
 Gets the `ReleaseChannels` property. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Set_ReleaseChannels-COREWEBVIEW2_RELEASE_CHANNELS-"></span><code>function <strong>Set_ReleaseChannels</strong>(value: <a href="uWVTypeLibrary.html#COREWEBVIEW2_RELEASE_CHANNELS">COREWEBVIEW2_RELEASE_CHANNELS</a>): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions7.html#Set_ReleaseChannels-COREWEBVIEW2_RELEASE_CHANNELS-">ICoreWebView2EnvironmentOptions7.Set_ReleaseChannels</a>.</p><p>


<p>Sets the `ReleaseChannels`, which is a mask of one or more `COREWEBVIEW2_RELEASE_CHANNELS` indicating which channels environment creation should search for. OR operation(s) can be applied to multiple `COREWEBVIEW2_RELEASE_CHANNELS` to create a mask. The default value is a a mask of all the channels. By default, environment creation searches for channels from most to least stable, using the first channel found on the device. When `ReleaseChannels` is provided, environment creation will only search for the channels specified in the set. Set `ChannelSearchKind` to `COREWEBVIEW2_CHANNEL_SEARCH_KIND_LEAST_STABLE` to reverse the search order so environment creation searches for least stable build first. See `COREWEBVIEW2_RELEASE_CHANNELS` for descriptions of each channel.

<p>`CreateCoreWebView2EnvironmentWithOptions` fails with `HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)` if environment creation is unable to find any channel from the `ReleaseChannels` installed on the device. Use `GetAvailableCoreWebView2BrowserVersionStringWithOptions` on `ICoreWebView2Environment` to verify which channel is used when this option is set.

<p>Examples: </p>

<pre class="preformatted">
|   ReleaseChannels   |   Channel Search Kind: Most Stable (default)   |   Channel Search Kind: Least Stable   |
| --- | --- | --- |
|COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE| WebView2 Runtime -&amp;gt; Beta | Beta -&amp;gt; WebView2 Runtime|
|COREWEBVIEW2_RELEASE_CHANNELS_CANARY \| COREWEBVIEW2_RELEASE_CHANNELS_DEV \| COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE| WebView2 Runtime -&amp;gt; Beta -&amp;gt; Dev -&amp;gt; Canary | Canary -&amp;gt; Dev -&amp;gt; Beta -&amp;gt; WebView2 Runtime |
|COREWEBVIEW2_RELEASE_CHANNELS_CANARY| Canary | Canary |
|COREWEBVIEW2_RELEASE_CHANNELS_BETA \| COREWEBVIEW2_RELEASE_CHANNELS_CANARY \| COREWEBVIEW2_RELEASE_CHANNELS_STABLE | WebView2 Runtime -&amp;gt; Beta -&amp;gt; Canary | Canary -&amp;gt; Beta -&amp;gt; WebView2 Runtime |</pre>

<p>

<p>If both `BrowserExecutableFolder` and `ReleaseChannels` are provided, the `BrowserExecutableFolder` takes precedence, regardless of whether or not the channel of `BrowserExecutableFolder` is included in the `ReleaseChannels`.

<p>`ReleaseChannels` can be overridden by the corresponding registry override `ReleaseChannels` or the environment variable `WEBVIEW2_RELEASE_CHANNELS`.

<p>Set the value to a comma-separated string of integers, which map to the following release channel values: Stable (0), Beta (1), Dev (2), and Canary (3). For example, the values &quot;0,2&quot; and &quot;2,0&quot; indicate that environment creation should only search for Dev channel and the WebView2 Runtime, using the order indicated by `ChannelSearchKind`. Environment creation attempts to interpret each integer and treats any invalid entry as Stable channel. See `CreateCoreWebView2EnvironmentWithOptions` for more details on overrides.

<p></p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Get_ScrollBarStyle-COREWEBVIEW2_SCROLLBAR_STYLE-"></span><code>function <strong>Get_ScrollBarStyle</strong>(out value: <a href="uWVTypeLibrary.html#COREWEBVIEW2_SCROLLBAR_STYLE">COREWEBVIEW2_SCROLLBAR_STYLE</a>): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p>
ICoreWebView2EnvironmentOptions8</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="Set_ScrollBarStyle-COREWEBVIEW2_SCROLLBAR_STYLE-"></span><code>function <strong>Set_ScrollBarStyle</strong>(value: <a href="uWVTypeLibrary.html#COREWEBVIEW2_SCROLLBAR_STYLE">COREWEBVIEW2_SCROLLBAR_STYLE</a>): HResult; stdcall;</code></td>
</tr>
<tr><td colspan="2">
<p class="inheritdescription">This item has no description. Showing description inherited from <a class="normal" href="uWVTypeLibrary.ICoreWebView2EnvironmentOptions8.html#Set_ScrollBarStyle-COREWEBVIEW2_SCROLLBAR_STYLE-">ICoreWebView2EnvironmentOptions8.Set_ScrollBarStyle</a>.</p><p>
 The ScrollBar style being set on the WebView2 Environment. The default value is `COREWEBVIEW2_SCROLLBAR_STYLE_DEFAULT` which specifies the default browser ScrollBar style. The `color-scheme` CSS property needs to be set on the corresponding page to allow ScrollBar to follow light or dark theme. Please see [color-scheme](<a href="https://developer.mozilla.org/docs/Web/CSS/color-scheme#declaring_color_scheme_preferences">https://developer.mozilla.org/docs/Web/CSS/color-scheme#declaring_color_scheme_preferences</a>) for how `color-scheme` can be set. CSS styles that modify the ScrollBar applied on top of native ScrollBar styling that is selected with `ScrollBarStyle`. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="DestroySchemeRegistrations"></span><code>procedure <strong>DestroySchemeRegistrations</strong>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Create-wvstring-wvstring-wvstring-boolean-boolean-boolean-TWVCustomSchemeRegistrationArray-boolean-boolean-TWVChannelSearchKind-TWVReleaseChannels-TWVScrollBarStyle-"></span><code>constructor <strong>Create</strong>(const aAdditionalBrowserArguments, aLanguage, aTargetCompatibleBrowserVersion : <a href="uWVTypes.html#wvstring">wvstring</a>; aAllowSingleSignOnUsingOSPrimaryAccount, aExclusiveUserDataFolderAccess, aCustomCrashReportingEnabled : boolean; const aSchemeRegistrations: <a href="uWVTypes.html#TWVCustomSchemeRegistrationArray">TWVCustomSchemeRegistrationArray</a>; aEnableTrackingPrevention, aAreBrowserExtensionsEnabled: boolean; aChannelSearchKind : <a href="uWVTypes.html#TWVChannelSearchKind">TWVChannelSearchKind</a>; aReleaseChannels : <a href="uWVTypes.html#TWVReleaseChannels">TWVReleaseChannels</a>; aScrollBarStyle: <a href="uWVTypes.html#TWVScrollBarStyle">TWVScrollBarStyle</a>);</code></td>
</tr>
<tr><td colspan="2">
<p>
 Constructor of the ICoreWebView2EnvironmentOptions wrapper. </p>
<p>
 

<p>

<p>

<p>

<p>

<p>

<p>

<p>

<p>

<p>

<p>

<p>

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions</a>&quot;&gt;See the ICoreWebView2EnvironmentOptions article.)

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions2">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions2</a>&quot;&gt;See the ICoreWebView2EnvironmentOptions2 article.)

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions3">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions3</a>&quot;&gt;See the ICoreWebView2EnvironmentOptions3 article.)

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions4">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions4</a>&quot;&gt;See the ICoreWebView2EnvironmentOptions4 article.)

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions5">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions5</a>&quot;&gt;See the ICoreWebView2EnvironmentOptions5 article.)

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions6">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions6</a>&quot;&gt;See the ICoreWebView2EnvironmentOptions6 article.)

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions7">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions7</a>&quot;&gt;See the ICoreWebView2EnvironmentOptions7 article.)

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions8">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environmentoptions8</a>&quot;&gt;See the ICoreWebView2EnvironmentOptions8 article.)</p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aAdditionalBrowserArguments</dt>
<dd>Additional command line switches.</dd>
<dt>aLanguage</dt>
<dd>The default display language for WebView. It applies to browser UI such as context menu and dialogs. It also applies to the `accept-languages` HTTP header that WebView sends to websites.</dd>
<dt>aTargetCompatibleBrowserVersion</dt>
<dd>Specifies the version of the WebView2 Runtime binaries required to be compatible with your app.</dd>
<dt>aAllowSingleSignOnUsingOSPrimaryAccount</dt>
<dd>Used to enable single sign on with Azure Active Directory (AAD) and personal Microsoft Account (MSA) resources inside WebView.</dd>
<dt>aExclusiveUserDataFolderAccess</dt>
<dd>Whether other processes can create WebView2 from WebView2Environment created with the same user data folder and therefore sharing the same WebView browser process instance.</dd>
<dt>aCustomCrashReportingEnabled</dt>
<dd>Send crash data to Microsoft endpoint or respect OS consent.</dd>
<dt>aSchemeRegistrations</dt>
<dd>Array of custom scheme registrations.</dd>
<dt>aEnableTrackingPrevention</dt>
<dd>Enable tracking prevention.</dd>
<dt>aAreBrowserExtensionsEnabled</dt>
<dd>If it's set to True, new extensions can be added to user profile and used.</dd>
<dt>aChannelSearchKind</dt>
<dd>WebView2 Runtime channel search order.</dd>
<dt>aReleaseChannels</dt>
<dd>Indicates which channels environment creation should search for.</dd>
<dt>aScrollBarStyle</dt>
<dd>The ScrollBar style being set on the WebView2 Environment.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Destroy"></span><code>destructor <strong>Destroy</strong>; override;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0-snapshot</a>. </em>
</span>
</body></html>
